package com.nchu.student_score.mapper;

import com.nchu.student_score.dataObject.StudentResult;
import com.nchu.student_score.model.Student;
import com.nchu.student_score.model.TeachClazz;

import java.util.List;

public interface StudentMapper {
    int deleteByPrimaryKey(Integer stuId);

    int insert(Student record);

    Student selectByPrimaryKey(Integer stuId);

    List<Student> selectAll();

    int updateByPrimaryKey(Student record);

    List<StudentResult> findStudents(StudentResult record);

    List<Student> selectByClazz(List<TeachClazz> record);

    List<Student> selectByClazzId(Integer clazzId);
}